package test.exam03;

public class JdbcService {
	private JdbcDao jdbcDao;
	
	public JdbcService() {}
	
	// jdbcDao is handed over through constructor
	public JdbcService(JdbcDao jdbcDao) {
		this.jdbcDao = jdbcDao;
	}
	
	public void serviceTest() {
		jdbcDao.insert();
		jdbcDao.delete();
	}
}
